---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- 统一注册 【 images\inventoryimages 】 里的所有图标
--- 每个 xml 里面 只有一个 tex

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

if Assets == nil then
    Assets = {}
end

local files_name = {

	---------------------------------------------------------------------------------------
	--- 05_cooked_foods
		"hutao_cooked_food_excample",									--- 示例用的食物
		"hutao_cooked_food_braised_pork_belly_with_preserved_vegetable",	--- 梅菜扣肉
		"hutao_cooked_food_plum_blossom_wine",								--- 梅花酿
		"hutao_cooked_food_vegetarian_abalone",								--- 素鲍鱼
		"hutao_cooked_food_ghostly_march",									--- 幽幽大行军

	---------------------------------------------------------------------------------------
	--- 06_equipments
		"hutao_equipment_ghostly_march",									--- 幽幽太行军
		"hutao_equipment_exquisite_ornament",								--- 玲珑饰物
		"hutao_equipment_megurigaoka_private_high_school_uniform",			--- 巡之丘高中校服
		"hutao_equipment_black_hoodie_of_a_depressed_girl",					--- 抑郁少女的黑卫衣
	---------------------------------------------------------------------------------------
	--- 07_plants
		"hutao_item_no_flower_petal",										--- 
		"hutao_item_plum_blossom_petal",									--- 
		"hutao_item_berry_flower_petal",									--- 
		"hutao_item_coal_flower_petal",										--- 

	---------------------------------------------------------------------------------------

}

for k, name in pairs(files_name) do
    table.insert(Assets, Asset( "IMAGE", "images/inventoryimages/".. name ..".tex" ))
    table.insert(Assets, Asset( "ATLAS", "images/inventoryimages/".. name ..".xml" ))
	RegisterInventoryItemAtlas("images/inventoryimages/".. name ..".xml", name .. ".tex")
end


